package com.hiultra.archive.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hiultra.common.annotation.Excel;
import com.hiultra.common.core.domain.BaseEntity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 【请填写功能名称】对象 arc_archive_records
 * 
 * @author ruoyi
 * @date 2024-07-15
 */
public class ArcArchiveRecords extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 供电单位编号 */
    private String orgNo;

    /** 接口编号 */
    @Excel(name = "接口编号")
    private String serviceCode;

    /** 档案室编号 */
    @Excel(name = "档案室编号")
    private String roomNo;

    /** 告警时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "告警时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date alarmTime;

    /** 推送标识 0-失败 1-成功 */
    @Excel(name = "推送标识 0-失败 1-成功")
    private Long status;

    /** 盒号*/
    @Excel(name = "盒号")
    private String boxNo;

    /**档案盒集合*/
    @Excel(name = "档案盒集合")
    private List<ArcBox> cabinetList;


    public String getBoxNo() {
        return boxNo;
    }

    public void setBoxNo(String boxNo) {
        this.boxNo = boxNo;
    }

    public List<ArcBox> getCabinetList() {
        return cabinetList;
    }

    public void setCabinetList(List<ArcBox> cabinetList) {
        this.cabinetList = cabinetList;
    }

    public List<ArcBox> getBoxList() {
        return cabinetList;
    }

    public void setBoxList(List<ArcBox> boxList) {
        this.cabinetList = boxList;
    }

    public void setOrgNo(String orgNo)
    {
        this.orgNo = orgNo;
    }

    public String getOrgNo() 
    {
        return orgNo;
    }
    public void setServiceCode(String serviceCode) 
    {
        this.serviceCode = serviceCode;
    }

    public String getServiceCode() 
    {
        return serviceCode;
    }
    public void setRoomNo(String roomNo) 
    {
        this.roomNo = roomNo;
    }

    public String getRoomNo() 
    {
        return roomNo;
    }
    public void setAlarmTime(Date alarmTime)
    {
        this.alarmTime = alarmTime;
    }

    public Date getAlarmTime()
    {
        return alarmTime;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orgNo", getOrgNo())
            .append("serviceCode", getServiceCode())
            .append("roomNo", getRoomNo())
            .append("alarmTime", getAlarmTime())
            .append("status", getStatus())
            .toString();
    }
}
